package com.threeti.jiayusms.infrastructure.communicationlog;

import java.util.List;

import com.threeti.jiayusms.domain.model.legacy.CommunicationLog;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationLogDao extends GenericCustomKeyDao<String, CommunicationLog>{

	PagedListHandler<CommunicationLog> findAllLogTemplatesByPage(int currentPageIndex, int startingIndex);
	
	PagedListHandler<CommunicationLog> findLogTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
	 
	List<CommunicationLog> findLogTemplatesByList(DynaSearchCriteria dynaSearchCriteria);
}
